package com.javasoft.service.WJC._interface;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.javasoft.entity.WJC.paperRuleEntity;

public interface PaperRuleService{
    Integer addPaperRule(paperRuleEntity paperRule) ;
    boolean deletePaperRule(long id);
    Integer updatePaperRule(paperRuleEntity updatedPaperRuleEntity);
    Page<paperRuleEntity> findPaperRules(Long id,
                                         String project,
                                         Integer currentPage,
                                         Integer pageSize);

    int getScoreByExamId(Long examId);

    int getNumByExamId(Long examId);
}
